package bean.pojo;

import commons.jdbc.annotation.Column;
import commons.jdbc.annotation.PrimaryKey;
import lombok.Data;

import java.util.Date;

/**
 * bean.pojo
 * User: xlh
 * Date: 2024/12/17 19:03
 * motto:推到高塔
 * Description:
 * Version: V1.0
 */
@Data
public class ChargeRecord {
    @Column("charge_record_id")
    @PrimaryKey(isAutoIncrease = true)  //这字段是主键
   private Integer chargeRecordId;
    @Column(value = "user_id")   //这是数据的字段  字段名和属性名不一致   communityName对上  community_name
    private Integer userId;
    @Column("type_id")
    private Integer typeId;
    @Column("charge_amount")
    private Integer chargeAmount;
    @Column("charge_date")
    private Date chargeDate;
    @Column("payment_method")
    private String paymentMethod;
    @Column("is_dunned")
    private String isDunned;
    @Column("charge_year_month")
    private String chargeYearMonth;
}
